/***************************************************************************//**
 * @file
 * @brief Co-Processor Communication Protocol (CPC) - XMODEM UART driver
 *******************************************************************************
 * # License
 * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
 *******************************************************************************
 *
 * The licensor of this software is Silicon Laboratories Inc. Your use of this
 * software is governed by the terms of Silicon Labs Master Software License
 * Agreement (MSLA) available at
 * www.silabs.com/about-us/legal/master-software-license-agreement. This
 * software is distributed to you in Source Code format and is governed by the
 * sections of the MSLA applicable to Source Code.
 *
 ******************************************************************************/

#ifndef DRIVER_XMODEM_H
#define DRIVER_XMODEM_H

#include <stdbool.h>

#include "cpcd/sl_status.h"

sl_status_t xmodem_uart_firmware_upgrade(const char   *image_file,
                                         const char   *dev_name,
                                         unsigned int bitrate,
                                         bool         hardflow);

#endif //DRIVER_XMODEM_H
